#ifndef _COMMON_H_
#define _COMMON_H_
namespace DataStructuresWet1
{
#define IS_IN_RANGE(value, min, max)	value>=min && value<=max
#define MAX(val1, val2)					(val1>=val2) ? val1 : val2
#define MIN(val1, val2)					(val1<=val2) ? val1 : val2

float log2(float val);

template <class DataT>
void MergeArrays(DataT* arr1, int size1, DataT* arr2, int size2, DataT* outArr);
}

#endif //_COMMON_H